package com.yuantong.xyerp.core.api.service;

import com.yuantong.xyerp.core.api.model.Category;

import java.util.List;

/**
 * Created by Jianguo.Yin on 2021-08-04.
 */
public interface ICategoryService {
    /**
     * 输入品类等级 返回相应等级的所有品类; level为null时,返回所有品类
     * @param level 品类等级
     * @return
     */
    List<Category> getCategoryByLevel(String level);
}
